﻿using BaseNet.Core.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseNet.Application.System.User.Dto
{
    /// <summary>
    /// 系统用户dto
    /// </summary>
    public class SysUserDto:DEntityBase
    {
        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 是否有效
        /// </summary>
        public bool? IsActive { get; set; }
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTimeOffset? LastLoginTime { get; set; }
        /// <summary>
        /// 角色id列表
        /// </summary>
        public List<string> RoleIds { get; set; }
        /// <summary>
        /// 角色名称列表
        /// </summary>
        public string RoleNames { get; set; }
    }
}
